﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YiNing.Tools
{
    public class FIleLastTimeComparer : IComparer<DirectoryInfo>
    {
        #region IComparer<FileInfo> 成员
        public int Compare(DirectoryInfo x, DirectoryInfo y)
        {
            return y.CreationTime.CompareTo(x.CreationTime);
        }
        #endregion
    }
}
